package com.xinruke.hostels.dailymanage.interfaces.dto.roomrepair;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@ApiModel("房间修理记录查询列表结果DTO")
@Data
public class RoomRepairRecordQueryResultDTO {

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "酒店id")
    private Integer jiudianId;

    @ApiModelProperty(value = "房间id")
    private Integer fangjianId;

    @ApiModelProperty(value = "房间编号")
    private String fangjianhao;

    @ApiModelProperty(value = "开始时间yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date kaishishijian;

    @ApiModelProperty(value = "结束时间yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date jieshushijian;

    @ApiModelProperty(value = "状态：1正在进行；2完成；3取消")
    private Byte weixiuzhuangtai;

    @ApiModelProperty(value = "维修结果")
    private String weixiujieguo;

    @ApiModelProperty(value = "备注")
    private String beizhu;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date chuangjianshijian;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gengxinshijian;
}
